package com.testmanager.testmananger.zyyc.interTest.domain;

import com.testmanager.testmananger.foundation.domain.AbstractAuditingEntity;
import com.testmanager.testmananger.zyyc.interTest.constant.YCProjectStatus;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.persistence.*;
import java.io.Serializable;

@Entity
@Data
@Accessors(chain = true)
@Table(name = "yc_project")
public class YcProjectEntity  extends AbstractAuditingEntity implements Serializable {
    private static final long serialVersionUID = 4164654011994959680L;

    @Id
    @GeneratedValue(strategy = GenerationType.AUTO)
    private long id;
    @Column
    private long no;

    @Column(name = "parent_no")
    private long parentNo;

    @Column(name = "project_name")
    private String projectName;
    @Column(name = "module_name")
    private String moduleName;
    @Column
    @Convert(converter = YCProjectStatusConvert.class)
    private YCProjectStatus status;




}
